//商品分类接口封装
import request from '../../utils/request';

//商品分类接口封装
export function goodstypeApi() {
    return {
        signIn: (data: object) => {
            return request({
                url: '/pc/goods_type/list',
                method: 'post',
                data,
            });
        },
    };
}

//商品分类新增接口封装
export function goodstypeAddApi() {
    return {
        signIn: (data: object) => {
            return request({
                url: '/pc/goods_type/save',
                method: 'post',
                data,
            });
        },
    };
}

//商品分类删除接口封装
export function goodstypeDeleteApi() {
    return {
        signIn: (data: object) => {
            return request({
                url: '/pc/goods_type/del',
                method: 'post',
                data,
            });
        },
    };
}